package com.zhiqingchun.pojo;

import java.util.List;

/**
 * Category entity. @author MyEclipse Persistence Tools
 */

public class CategoryDO implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Integer parent;
	private Integer no;
	private Integer status;
	private String intro;
	private List<CategoryDO> categoryList;

	// Constructors

	public List<CategoryDO> getCategoryList() {
		return categoryList;
	}

	public void setCategoryList(List<CategoryDO> categoryList) {
		this.categoryList = categoryList;
	}

	/** default constructor */
	public CategoryDO() {
	}

	/** minimal constructor */
	public CategoryDO(Integer id, String name, Integer no, Integer status) {
		this.id = id;
		this.name = name;
		this.no = no;
		this.status = status;
	}

	/** full constructor */
	public CategoryDO(Integer id, String name, Integer parent, Integer no,
			Integer status, String intro) {
		this.id = id;
		this.name = name;
		this.parent = parent;
		this.no = no;
		this.status = status;
		this.intro = intro;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getParent() {
		return this.parent;
	}

	public void setParent(Integer parent) {
		this.parent = parent;
	}

	public Integer getNo() {
		return this.no;
	}

	public void setNo(Integer no) {
		this.no = no;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getIntro() {
		return this.intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

}